package bean;

import java.util.Date;

/**
 * @Author 王志康
 * @Date 2021/9/2 14:42
 * @Version 1.0.0
 */
public class OrderBean {
    /**
     * userNumber 用户账号
     * orderContent 订单内容
     * orderTime 订单时间
     * getIntegral 该订单积分
     */
    private int id;
    private String userNumber;
    private String orderContent;
    private Date orderTime;
    private int getIntegral;

    public OrderBean(int id, String userNumber, String orderContent, Date orderTime, int getIntegral) {
        this.id = id;
        this.userNumber = userNumber;
        this.orderContent = orderContent;
        this.orderTime = orderTime;
        this.getIntegral = getIntegral;
    }

    public OrderBean(String userNumber, String orderContent, Date orderTime, int getIntegral) {
        this.userNumber = userNumber;
        this.orderContent = orderContent;
        this.orderTime = orderTime;
        this.getIntegral = getIntegral;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserNumber() {
        return userNumber;
    }

    public void setUserNumber(String userNumber) {
        this.userNumber = userNumber;
    }

    public String getOrderContent() {
        return orderContent;
    }

    public void setOrderContent(String orderContent) {
        this.orderContent = orderContent;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public int getGetIntegral() {
        return getIntegral;
    }

    public void setGetIntegral(int getIntegral) {
        this.getIntegral = getIntegral;
    }
}
